package itdfq.dfq.Creational_Pattern.chouxianggongchang;

/**
 * @Author GocChin
 * @Date 2021/3/20 14:22
 * @Blog: itdfq.com
 * @QQ: 909256107
 */
public class MiFactory implements EFactory{
    @Override
    public Phone productPhone() {
        System.out.println("小米电器工厂生产小米手机");
        return new MIPhone();
    }

    @Override
    public Watch productWatch() {
        System.out.println("小米电器工厂生产小米手环");

        return new MIWatch();
    }
}
